package com.nifostasky.entity;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.IdType;
import java.io.Serializable;
import lombok.Data;

/**
 * 角色与菜单对应关系(SysRoleMenu)表实体类
 *
 * @author makejava
 * @since 2022-03-18 14:14:27
 */
@Data
@TableName(value = "sys_role_menu")
public class SysRoleMenu implements Serializable{

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;


    /**
    *角色ID
    */
    @TableField(value = "role_id")
    private Long roleId;

    /**
    *菜单ID
    */
    @TableField(value = "menu_id")
    private Long menuId;

}
